{% extends 'trash.html' %}
{% block active_users %}class="active"{% endblock %}
{% block trash %}
{% if users %}
<table class="table table-bordered table-striped table-condensed table-hover">
	<tr>
		<th>First name</th>
		<th>Last name</th>
		<th style="text-align: center;">Restore</th>
		<th style="text-align: center;">Delete</th>
	</tr>
	{% for user in users %}
	<tr>
		<td>{{ user.first_name }}</td>
		<td>{{ user.last_name }}</td>
		<td style="text-align: center;"><a href="{% url 'trash.views.restore_user' id=user.id %}"><i class="icon-repeat"></i></a></td>
		<td style="text-align: center;"><a href="{% url 'account.views.delete_user' id=user.id %}"><i class="icon-remove"></i></a></td>					
	</tr>
	{% endfor %}
</table>
{% else %}
	<p>There are no trashed users.</p>
{% endif %}
{% endblock %}